import request from '@/utils/request'

const defaultApi = {
  post(url, body) {
    return request.post(url, body)
  },
  get(url, params) {
    return request.get(url, {
      params
    })
  }
}
export {
  defaultApi
}
